package com.ruoyi.system.domain;


import java.math.BigDecimal;

public class EsChangeProduct {

  private long id;
  private long changeId;
  private long stockId;
  private String stockSn;
  private long stockItemId;
  private long stockBatchId;
  private String stockBatchSn;
  private long goodsId;
  private long productId;
  private String productName;
  private String productSn;
  private String specification;
  private long categoryId;
  private String categoryName;
  private String unit;
  private BigDecimal costPrice; // 成本价（原price）
  private BigDecimal num;      // 数量（原quantity）
  private BigDecimal amount;   // 金额（costPrice * num）
  private long type;
  private Integer isDamaged; // 是否报损(0:否 1:是)
  private String damageReason; // 报损原因
  private BigDecimal damageQuantity; // 报损数量

  public Integer getIsDamaged() {
    return isDamaged;
  }

  public void setIsDamaged(Integer isDamaged) {
    this.isDamaged = isDamaged;
  }

  public String getDamageReason() {
    return damageReason;
  }

  public void setDamageReason(String damageReason) {
    this.damageReason = damageReason;
  }

  public BigDecimal getDamageQuantity() {
    return damageQuantity;
  }

  public void setDamageQuantity(BigDecimal damageQuantity) {
    this.damageQuantity = damageQuantity;
  }

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public long getChangeId() {
    return changeId;
  }

  public void setChangeId(long changeId) {
    this.changeId = changeId;
  }


  public long getStockId() {
    return stockId;
  }

  public void setStockId(long stockId) {
    this.stockId = stockId;
  }


  public String getStockSn() {
    return stockSn;
  }

  public void setStockSn(String stockSn) {
    this.stockSn = stockSn;
  }


  public long getStockItemId() {
    return stockItemId;
  }

  public void setStockItemId(long stockItemId) {
    this.stockItemId = stockItemId;
  }


  public long getStockBatchId() {
    return stockBatchId;
  }

  public void setStockBatchId(long stockBatchId) {
    this.stockBatchId = stockBatchId;
  }


  public String getStockBatchSn() {
    return stockBatchSn;
  }

  public void setStockBatchSn(String stockBatchSn) {
    this.stockBatchSn = stockBatchSn;
  }


  public long getGoodsId() {
    return goodsId;
  }

  public void setGoodsId(long goodsId) {
    this.goodsId = goodsId;
  }


  public long getProductId() {
    return productId;
  }

  public void setProductId(long productId) {
    this.productId = productId;
  }


  public String getProductName() {
    return productName;
  }

  public void setProductName(String productName) {
    this.productName = productName;
  }


  public String getProductSn() {
    return productSn;
  }

  public void setProductSn(String productSn) {
    this.productSn = productSn;
  }


  public String getSpecification() {
    return specification;
  }

  public void setSpecification(String specification) {
    this.specification = specification;
  }


  public long getCategoryId() {
    return categoryId;
  }

  public void setCategoryId(long categoryId) {
    this.categoryId = categoryId;
  }


  public String getCategoryName() {
    return categoryName;
  }

  public void setCategoryName(String categoryName) {
    this.categoryName = categoryName;
  }


  public String getUnit() {
    return unit;
  }

  public void setUnit(String unit) {
    this.unit = unit;
  }

  public BigDecimal getCostPrice() {
    return costPrice;
  }

  public void setCostPrice(BigDecimal costPrice) {
    this.costPrice = costPrice;
  }

  public BigDecimal getNum() {
    return num;
  }

  public void setNum(BigDecimal num) {
    this.num = num;
  }

  public BigDecimal getAmount() {
    return amount;
  }

  public void setAmount(BigDecimal amount) {
    this.amount = amount;
  }

  public long getType() {
    return type;
  }

  public void setType(long type) {
    this.type = type;
  }

}
